package horsechess.client.data;

import horsechess.util.Point;

/**
 * @author Administrator
 * @version 2.2
 * @created 17-Apr-2011 11:50:29 AM
 */
public class ChessManData {

    private Point positionInCage;
    /**
     * the position of chess man on board
     */
    private int positionOnBoard;
    /**
     * The value to begin to get on the field
     */
    private int startBattleValue;
    /**
     * the position of chess man when he encounter final
     */
    private int positionFinal;
    /**
     * Color Of chess
     */
    private int colorChess;
    //private int bac;
    private int state;
   private int finalCage = 0;
   private int count;
   
    private StateChessMan stateChessMan;

    /**
     * init stateChessMan with ready
     * init positionOnBoard with -1
     * init count  with zero
     * init bac with zero
     */
    public void ChessMan() {
        stateChessMan=StateChessMan.ready;
        positionOnBoard=-1;
       count=0;
//        bac=0;
    }

    /**
     * Getter
     */
    public StateChessMan getStateChessMan() {
        return stateChessMan;
    }

    public void setStateChessMan(StateChessMan stateChessMan) {
        this.stateChessMan = stateChessMan;
    }

    public int getColorChess() {
        return colorChess;
    }

    public void setColorChess(int colorChess) {
        this.colorChess = colorChess;
    }

    public int getPositionFinal() {
        return positionFinal;
    }

    public void setPositionFinal(int positionFinal) {
        this.positionFinal = positionFinal;
    }


    public Point getPositionInCage() {
        return positionInCage;
    }

    public void setPositionInCage(Point positionInCage) {
        this.positionInCage = positionInCage;
    }


    public int getPositionOnBoard() {
        return positionOnBoard;
    }

    public void setPositionOnBoard(int positionOnBoard) {
        this.positionOnBoard = positionOnBoard;
    }

    public int getStartBattleValue() {
        return startBattleValue;
    }

    public void setStartBattleValue(int startBattleValue) {
        this.startBattleValue = startBattleValue;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getState() {
        return state;
    }

    public int getFinalCage() {
        return finalCage;
    }

    public void setFinalCage(int finalCage) {
        this.finalCage = finalCage;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

  
   
    
    
}
